/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.asu.cse360.dto;

import edu.asu.cse360.model.MenuItem;
import java.io.Serializable;


public class ItemEfficiency implements Serializable{
    private MenuItem menuItem;
    private int frequency;

    public ItemEfficiency(MenuItem item, Integer frequency) {
        this.menuItem = item;
        this.frequency = frequency;
    }

    /**
     * @return the menuItem
     */
    public MenuItem getMenuItem() {
        return menuItem;
    }

    /**
     * @param menuItem the menuItem to set
     */
    public void setMenuItem(MenuItem menuItem) {
        this.menuItem = menuItem;
    }

    /**
     * @return the frequency
     */
    public int getFrequency() {
        return frequency;
    }

    /**
     * @param frequency the frequency to set
     */
    public void setFrequency(int frequency) {
        this.frequency = frequency;
    }

}
